﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace 蓝牙注册工具.ViewModel
{
    class DataViewModel : Notify
    {

        private List<MacItem> _MacItems = new List<MacItem>() { };
        public List<MacItem> MacItems
        {
            get => _MacItems;
            set { _MacItems = value; RaisePropertyChanged("MacItems"); }
        }
        public class MacItem : Notify
        {
            string _No;

            public string No
            {
                get { return _No; }
                set { _No = value; }
            }
            string _Mac;

            public string Mac
            {
                get { return _Mac; }
                set { _Mac = value; }
            }

            string _TestTime;

            public string TestTime
            {
                get { return _TestTime; }
                set { _TestTime = value; }
            }

            SolidColorBrush _BackColor = BtLabelModel.ColorModel.FirstColor;
            public SolidColorBrush BackColor
            {
                get { return _BackColor; }
                set { _BackColor = value; }
            }
        }
    }
}
